from flask import Flask,render_template

app = Flask(__name__)
@app.route('/')
def index():
    return '<h1>success,我是 杨宗纬</h1>'

@app.route('/home')
def home():
    return render_template("home.html")


if __name__ == '__main__':
    app.debug = True
    app.run()